package com.car.dal.dao.department;


import com.car.bean.GridObj;
import com.car.bean.OrderObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.IbatisCommonDao;
import com.car.dal.object.TgDepartment;

public class TgDepartmentDaoImpl extends IbatisCommonDao<TgDepartment, Long> implements TgDepartmentDao {

    public GridObj GetList(TgDepartment department, PageObj pageObj) {
        OrderObj order = new OrderObj();
        order.setDir("desc");
        order.setSort("id");
        // TODO Auto-generated method stub
        return super.findByPage(department, pageObj, order);
    }
}
